<%--
  Created by IntelliJ IDEA.
  User: 18070
  Date: 2022/9/22
  Time: 23:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@page isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h2 style="text-align: center">实名认证提交</h2>


<c:if test="${user.realstatus==0}">
    <form action="/UserCenter/UserAutonym" method="post">
        <input type="hidden" name="uno" value="${sessionScope.user.uno}">
        <input type="hidden" name="status" value="1">
        <table style="width: 400px;height: 350px;text-align: center;margin-left: 200px;margin-top: 50px;border: 1px solid darkgrey">
            <tr>
                <td>真实姓名:</td>
                <td><input type="text" name="rname" value=""></td>
            </tr>
            <tr>
                <td>身份证号:</td>
                <td><input type="text" name="ID" value=""></td>
            </tr>
            <tr>
                <td>实名状态:</td>
                <td>
<%--                    <c:if test="${user.realstatus==0}">未实名</c:if>--%>
<%--                    <c:if test="${user.realstatus==2}">未通过</c:if>--%>
                    未实名
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <input style="color: green" type="submit" value="提交申请">
                </td>
            </tr>
        </table>
    </form>
</c:if>
<c:if test="${real.status==1||user.realstatus==1}">
    <h1 style="margin-top: 100px;text-align: center;color: #00a6b2">实名认证审核中</h1>
</c:if>
<c:if test="${user.realstatus==3||real.status==3}">
    <h1 style="margin-top: 100px;text-align: center;color: green">实名认证已通过</h1>
</c:if>
</body>
</html>
